<!doctype html>
<html class="no-js">
<head>
  <meta charset="utf-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="description" content="">
  <meta name="keywords" content="">
  <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
  <title>编辑底部信息 - Powered By ${systemConfig.systemName}</title>

  <!-- Set render engine for 360 browser -->
  <meta name="renderer" content="webkit">

  <!-- No Baidu Siteapp-->
  <meta http-equiv="Cache-Control" content="no-siteapp"/>

  <link rel="icon" type="image/png" href="${base}/template/assets/i/favicon.png">

  <!-- Add to homescreen for Chrome on Android -->
  <meta name="mobile-web-app-capable" content="yes">
  <link rel="icon" sizes="192x192" href="${base}/template/assets/i/app-icon72x72@2x.png">

  <!-- Add to homescreen for Safari on iOS -->
  <meta name="apple-mobile-web-app-capable" content="yes">
  <meta name="apple-mobile-web-app-status-bar-style" content="black">
  <meta name="apple-mobile-web-app-title" content="Amaze UI"/>
  <link rel="apple-touch-icon-precomposed" href="${base}/template/assets/i/app-icon72x72@2x.png">

  <!-- Tile icon for Win8 (144x144 + tile color) -->
  <meta name="msapplication-TileImage" content="${base}/template/assets/i/app-icon72x72@2x.png">
  <meta name="msapplication-TileColor" content="#0e90d2">

  <link rel="stylesheet" href="${base}/res/css/amazeui.min.css">
  <link rel="stylesheet" href="${base}/res/css/app.css">
  <link rel="stylesheet" href="${base}/res/css/admin.css">
  <script src="${base}/res/js/jquery.min.js"></script>
  <!-- 百度编辑器 -->
  <script type="text/javascript" charset="utf-8" src="${base}/res/plugins/ueditor/ueditor.config.js"></script>
  <script type="text/javascript" charset="utf-8" src="${base}/res/plugins/ueditor/ueditor.all.min.js"> </script>
  <script type="text/javascript" charset="utf-8" src="${base}/res/plugins/ueditor/lang/zh-cn/zh-cn.js"></script>
  <%
	var isAdd = false;
	var isEdit = false;
	if(isEmpty(footer.id)){
		isAdd = true;
	}else{
		isEdit = true;
  }%>
</head>
<body>
<!--在这里编写你的代码-->
<div class="admin-content">
	 <div class="am-cf am-padding">
	   <div class="am-fl am-cf"><strong class="am-text-primary am-text-lg">内管管理</strong> / <small>编辑底部信息</small></div>
	 </div>
	 <hr style="padding:0px 1rem 0rem 0rem;margin:0px;">
	 <div class="am-g" >
		<div class="am-u-sm-12" style="padding:0px 5px 0px 0px;margin:0px;">
		    <form id="inputForm" class="am-form" action="${base}/footer/update" method="post">
	          <input type="hidden" name="footer.id" value="${footer.id!}" />
	
	          <div class="am-g am-margin-top-sm">
	            <div class="am-u-sm-12 am-u-md-12">
	               <script id="editor" name="footer.content" type="text/plain"  style="width: 100%;height:300px;">${footer.content!}</script>
	            </div>
	          </div>
	
			  <div class="am-g am-margin-top">
			  <div class="am-u-sm-12 am-u-md-12">
			  	<button type="submit" class="am-btn am-btn-primary am-btn-xs">提交保存</button>
			    <button type="button" class="am-btn am-btn-warning am-btn-xs" onclick="window.history.back(); return false;">放弃保存</button>
			  </div>
			  </div>
	        </form>
		</div>
	</div>
</div>
<!-- content end -->

<!--[if (gte IE 9)|!(IE)]><!-->
<script src="${base}/res/js/amazeui.min.js"></script>
<script type="text/javascript">
	var ue = UE.getEditor('editor');//初始化
</script>
<!--<![endif]-->
<!--[if lte IE 8 ]>
<script src="https://libs.baidu.com/jquery/1.11.1/jquery.min.js"></script>
<![endif]-->
</body>
</html>
